package com.supermarket.api.service;

import com.supermarket.api.bean.product.ProductDetail;
import com.supermarket.api.common.PageParam;
import com.supermarket.api.entity.ProductEntity;
import org.springframework.data.domain.Page;

/**
 * 商品服务层
 * @author 李其伟
 * @date 2023/10/19
 */
public interface ProductService {

    Page<ProductEntity> list(PageParam pageParam);

    ProductDetail detail(String sku);
}
